<extend name="Member/base" />
<block name="main">
<!--body-->			
<div class="kUi_content KUi_usercenter">
	<div class="row warp">
		<div class="usern-block">
			<include file="Member/leftnavi" />
			<div class="usern-main usern-main-noinof">
				<div class="main-block">
					<form id="j_form">
						<div class="user-main-list">
							<div class="uinfolist">
								<div class="list-title">基本信息</div>
								<div class="list-tools">
									<div class="s-form-block">
										<div class="form-control">
											<div style="display:inline-block;vertical-align: middle;position:relative">
												<a id="j_form_button" href="{:U('Member/editinfo')}" class="s-btn s-btn-def">修改基本信息</a>
                                             </div>
										</div>
									</div>
								</div>
							</div>
							<div class="list-content">
								<ul id="j_view_info" class="s-table s-table-nowrap s-table-list-noborder">
									<li>
										<div class="u_info">	
											<label>头像：</label>
											<div class="form-control">
												<empty name="userinfo.cover_id">
												<img src="/Public/blog/images/user.png" class="img-circle img-circle-80">
												<else />
												<img src="{$userinfo.cover_id|get_cover='path'}" class="img-circle img-circle-80" onerror="javascript:this.src='/Public/blog/images/user.png';">
												</empty>
											</div>
										</div>
									</li>
									<li>
										<div class="u_info">
											<label>昵称：</label><div class="form-control">{$userinfo.nickname}</div>
										</div>
									</li>
									<li>
										<div class="u_info">
											<label>性别：</label>
											<div class="form-control"><switch name="userinfo.sex"><case value="0">男</case><case value="1">女</case></switch></div>
										</div>
									</li>
									<li>
										<div class="u_info">
											<div>
												<label>个人签名：</label>
												<div class="form-control">{$userinfo.description}</div>
											</div>
										</div>
									</li>
									<li>
										<div class="u_info">
											<div>
												<p class="conts">简介：<empty name="userinfo.author_text">这家伙很懒，什么都没有写<else />{$userinfo.author_text}</empty></p>
											</div>
										</div>
									</li>
								</ul>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</block>